<template>
  <div>
    <MySon>
      <template #content="{ title, arr,msg }">
        <h2>{{ title }}</h2>
        <h2>{{msg}}</h2>
        <h2 v-for="(item, index) in arr" :key="index">{{ item }}</h2>
      </template>

      <template #option="{ yes, no }">
        <button>{{ yes }}</button>
        <button>{{ no }}</button>
      </template>
    </MySon>
  </div>
</template>

<script>
import MySon from './components/MySon.vue';

export default {
  components: {
    MySon,
  },
};
</script>

<style scoped></style>
